package fr.vvins.core.services;

import java.util.List;

import fr.vvins.core.biz.back.BackManager;
import fr.vvins.core.biz.exception.BizException;
import fr.vvins.core.common.TechnicalException;
import fr.vvins.core.common.dto.BeanDto;

//@Component("backService")
//@Path("/back")
public class BackServiceImpl implements BackService {

	//@Resource(name="backManager")
	public BackManager manager;

	public BackManager getManager() {
		return manager;
	}

	public void setManager(BackManager manager) {
		this.manager = manager;
	}

	@Override
	public List<BeanDto> list(String dto) throws BizException, TechnicalException {
		return getManager().list(dto);
	}

}
